import type { GreasyForkElements } from '../../../../../../../../../types/constants/personalization/greasy_fork'
import {
  PAGE_ELEMENTS,
  SUPPORTED_PLATFORMS,
} from '../../../../../../../../../types/constants'

// 测试链接：https://greasyfork.org/zh-CN/help/credits
export class CreditsPage {
  elements: GreasyForkElements = PAGE_ELEMENTS[SUPPORTED_PLATFORMS.GREASY_FORK]
  private static instance: CreditsPage

  /**
   * 获取单例实例
   */
  public static getInstance(): CreditsPage {
    if (!CreditsPage.instance) {
      CreditsPage.instance = new CreditsPage()
    }
    return CreditsPage.instance
  }

  init(): void {
  }

  getMainStyles(): string {
    return ``
  }
}
